path_exists(index);
参数 | 描述 |
---|---|
index | The index of the path to check for. |
返回: Boolean(布尔值)
This function returns whether a path with the given index exists
or not. Note that if you check for the existence of a path through
a variable that has yet to have been declared, this will throw an
error.
if path_exists(path0)
{
path_start(path0, 4, path_action_reverse, 0);
}
This will start path0, if it exists.